package com.cskaoyan.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class MarketAftersale implements Serializable {

    /**
     * id : 4
     * aftersaleSn : 20210927617839
     * orderId : 10
     * userId : 1
     * type : 1
     * reason : 申请中
     * amount : 888
     * pictures : []
     * comment :
     * status : 4
     * handleTime : 2021-09-29 13:57:59
     * addTime : 2021-09-27 11:43:48
     * updateTime : 2021-09-29 13:57:59
     * deleted : false
     */

    Integer id;
    String aftersaleSn;
    Integer orderId;
    Integer userId;
    Integer type;
    String reason;
    Double amount;
    String comment;
    Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date handleTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date updateTime;
    boolean deleted;
    String[] pictures;
}


